package org.dfzt.modules.online.cgform.model;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.dfzt.common.system.vo.DictModel;
import org.dfzt.modules.online.cgform.entity.OnlCgformButton;

public class OnlComplexModel {
    private String code;
    private String formTemplate;
    private String description;
    private String currentTableName;
    private Integer tableType;
    private String paginationFlag;
    private String checkboxFlag;
    private Integer scrollFlag;
    private List<OnlColumn> columns;
    private List<String> hideColumns;
    private Map<String, List<DictModel>> l = new HashMap();
    private List<OnlCgformButton> cgButtonList;
    List<HrefSlots> hrefSlots;
    private String enhanceJs;
    private List<OnlForeignKey> foreignKeys;
    private String pidField;
    private String hasChildrenField;
    private String textField;


    public void setCode(String code) {
        this.code = code;
    }



    public void setFormTemplate(String formTemplate) {
        this.formTemplate = formTemplate;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setCurrentTableName(String currentTableName) {
        this.currentTableName = currentTableName;
    }

    public void setTableType(Integer tableType) {
        this.tableType = tableType;
    }

    public void setPaginationFlag(String paginationFlag) {
        this.paginationFlag = paginationFlag;
    }

    public void setCheckboxFlag(String checkboxFlag) {
        this.checkboxFlag = checkboxFlag;
    }

    public void setScrollFlag(Integer scrollFlag) {
        this.scrollFlag = scrollFlag;
    }

    public void setColumns(List<OnlColumn> columns) {
        this.columns = columns;
    }

    public void setHideColumns(List<String> hideColumns) {
        this.hideColumns = hideColumns;
    }

    public void setDictOptions(Map<String, List<DictModel>> dictOptions) {
        this.l = dictOptions;
    }

    public void setCgButtonList(List<OnlCgformButton> cgButtonList) {
        this.cgButtonList = cgButtonList;
    }

    public void setFieldHrefSlots(List<HrefSlots> fieldHrefSlots) {
        this.hrefSlots = fieldHrefSlots;
    }

    public void setEnhanceJs(String enhanceJs) {
        this.enhanceJs = enhanceJs;
    }

    public void setForeignKeys(List<OnlForeignKey> foreignKeys) {
        this.foreignKeys = foreignKeys;
    }

    public void setPidField(String pidField) {
        this.pidField = pidField;
    }

    public void setHasChildrenField(String hasChildrenField) {
        this.hasChildrenField = hasChildrenField;
    }

    public void setTextField(String textField) {
        this.textField = textField;
    }

    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof OnlComplexModel)) return false;
        OnlComplexModel c1 = (OnlComplexModel) o;
        if (!c1.a(this)) return false;
        String str1 = getCode(), str2 = c1.getCode();
        if ((str1 == null) ? (str2 != null) : !str1.equals(str2)) return false;
        String str3 = getFormTemplate(), str4 = c1.getFormTemplate();
        if ((str3 == null) ? (str4 != null) : !str3.equals(str4)) return false;
        String str5 = getDescription(), str6 = c1.getDescription();
        if ((str5 == null) ? (str6 != null) : !str5.equals(str6)) return false;
        String str7 = getCurrentTableName(), str8 = c1.getCurrentTableName();
        if ((str7 == null) ? (str8 != null) : !str7.equals(str8)) return false;
        Integer integer1 = getTableType(), integer2 = c1.getTableType();
        if ((integer1 == null) ? (integer2 != null) : !integer1.equals(integer2)) return false;
        String str9 = getPaginationFlag(), str10 = c1.getPaginationFlag();
        if ((str9 == null) ? (str10 != null) : !str9.equals(str10)) return false;
        String str11 = getCheckboxFlag(), str12 = c1.getCheckboxFlag();
        if ((str11 == null) ? (str12 != null) : !str11.equals(str12)) return false;
        Integer integer3 = getScrollFlag(), integer4 = c1.getScrollFlag();
        if ((integer3 == null) ? (integer4 != null) : !integer3.equals(integer4)) return false;
        List list1 = getColumns(), list2 = c1.getColumns();
        if ((list1 == null) ? (list2 != null) : !list1.equals(list2)) return false;
        List list3 = getHideColumns(), list4 = c1.getHideColumns();
        if ((list3 == null) ? (list4 != null) : !list3.equals(list4)) return false;
        Map map1 = getDictOptions(), map2 = c1.getDictOptions();
        if ((map1 == null) ? (map2 != null) : !map1.equals(map2)) return false;
        List list5 = getCgButtonList(), list6 = c1.getCgButtonList();
        if ((list5 == null) ? (list6 != null) : !list5.equals(list6)) return false;
        List list7 = getFieldHrefSlots(), list8 = c1.getFieldHrefSlots();
        if ((list7 == null) ? (list8 != null) : !list7.equals(list8)) return false;
        String str13 = getEnhanceJs(), str14 = c1.getEnhanceJs();
        if ((str13 == null) ? (str14 != null) : !str13.equals(str14)) return false;
        List list9 = getForeignKeys(), list10 = c1.getForeignKeys();
        if ((list9 == null) ? (list10 != null) : !list9.equals(list10)) return false;
        String str15 = getPidField(), str16 = c1.getPidField();
        if ((str15 == null) ? (str16 != null) : !str15.equals(str16)) return false;
        String str17 = getHasChildrenField(), str18 = c1.getHasChildrenField();
        if ((str17 == null) ? (str18 != null) : !str17.equals(str18)) return false;
        String str19 = getTextField(), str20 = c1.getTextField();
        return !((str19 == null) ? (str20 != null) : !str19.equals(str20));
    }

    protected boolean a(Object paramObject) {
        return paramObject instanceof OnlComplexModel;
    }

    public String toString() {
        return "OnlComplexModel(code=" + getCode() + ", formTemplate=" + getFormTemplate() + ", description=" + getDescription() + ", currentTableName=" + getCurrentTableName() + ", tableType=" + getTableType() + ", paginationFlag=" + getPaginationFlag() + ", checkboxFlag=" + getCheckboxFlag() + ", scrollFlag=" + getScrollFlag() + ", columns=" + getColumns() + ", hideColumns=" + getHideColumns() + ", dictOptions=" + getDictOptions() + ", cgButtonList=" + getCgButtonList() + ", fieldHrefSlots=" + getFieldHrefSlots() + ", enhanceJs=" + getEnhanceJs() + ", foreignKeys=" + getForeignKeys() + ", pidField=" + getPidField() + ", hasChildrenField=" + getHasChildrenField() + ", textField=" + getTextField() + ")";
    }


    public String getCode() {
        return this.code;
    }


    public String getFormTemplate() {
        return this.formTemplate;
    }


    public String getDescription() {
        return this.description;
    }


    public String getCurrentTableName() {
        return this.currentTableName;
    }


    public Integer getTableType() {
        return this.tableType;
    }


    public String getPaginationFlag() {
        return this.paginationFlag;
    }


    public String getCheckboxFlag() {
        return this.checkboxFlag;
    }


    public Integer getScrollFlag() {
        return this.scrollFlag;
    }


    public List<OnlColumn> getColumns() {
        return this.columns;
    }


    public List<String> getHideColumns() {
        return this.hideColumns;
    }




    public Map<String, List<DictModel>> getDictOptions() {
        return this.l;
    }



    public List<OnlCgformButton> getCgButtonList() {
        return this.cgButtonList;
    }


    public List<HrefSlots> getFieldHrefSlots() {
        return this.hrefSlots;
    }


    public String getEnhanceJs() {
        return this.enhanceJs;
    }


    public List<OnlForeignKey> getForeignKeys() {
        return this.foreignKeys;
    }


    public String getPidField() {
        return this.pidField;
    }


    public String getHasChildrenField() {
        return this.hasChildrenField;
    }


    public String getTextField() {
        return this.textField;
    }
}
